/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.nts.pointsstore;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

/**
 *
 * @author Himagirinathan
 */
public class TxCompleted extends Activity implements View.OnClickListener
{
  long id;
  Button buserhome;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle icicle)
    {
     super.onCreate(icicle);
     this.setContentView(R.layout.txcompleted);
     id=this.getIntent().getExtras().getLong("id");
     buserhome=(Button)this.findViewById(R.id.gotohome);
     buserhome.setOnClickListener(this);
    }

    public void onClick(View arg0)
    {
      Intent it=new Intent(this, UserHome.class);
      Bundle bundle = new Bundle();
      bundle.putLong("id",id);
      it.putExtras(bundle);
      this.startActivity(it);
    }

    @Override
    public void onBackPressed()
    {

    }
}
